Welcome![Sign In][Sign Up]
Location:
Search - arithmetic matlab

Search list

[OtherINTRODUCTION TO MATLAB FOR

Description: 1 Tutorial lessons 1 1 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Basic features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3 A minimum MATLAB session . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3.1 Starting MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3.2 Using MATLAB as a calculator . . . . . . . . . . . . . . . . . . . . . 4 1.3.3 Quitting MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.1 Creating MATLAB variables . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.2 Overwriting variable . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.3 Error messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.4 Making corrections . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.5 Controlling the hierarchy of operations or precedence . . . . . . . . . 6 1.4.6 Controlling the appearance of °oating point number . . . . . . . . . . 8 1.4.7 Managing the workspace . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.4.8 Keeping track of your work session . . . . . . . . . . . . . . . . . . . 9 1.4.9 Entering multiple statements per line . . . . . . . . . . . . . . . . . . 9 1.4.10 Miscellaneous commands . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.4.11 Getting help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2 Tutorial lessons 2 12 2.1 Mathematical functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.1.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2 Basic plotting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.1 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.2 Creating simple plots . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.3 Adding titles, axis labels, and annotations . . . . . . . . . . . . . . . 15 2.2.4 Multiple data sets in one plot . . . . . . . . . . . . . . . . . . . . . . 16 2.2.5 Specifying line styles and colors . . . . . . . . . . . . . . . . . . . . . 17 2.3 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.4 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5 Matrix generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5.1 Entering a vector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5.2 Entering a matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.5.3 Matrix indexing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.5.4 Colon operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.5 Linear spacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.6 Colon operator in a matrix . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.7 Creating a sub-matrix . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.5.8 Deleting row or column . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.9 Dimension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.10 Continuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.11 Transposing a matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.12 Concatenating matrices . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.13 Matrix generators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.5.14 Special matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3 Array operations and Linear equations 30 3.1 Array operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.1.1 Matrix arithmetic operations . . . . . . . . . . . . . . . . . . . . . . . 30 3.1.2 Array arithmetic operations . . . . . . . . . . . . . . . . . . . . . . . 30 3.2 Solving linear equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.2.1 Matrix inverse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.2.2 Matrix functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.3 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 4 Introduction to programming in MATLAB 35 4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.2 M-File Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.2.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4.2.2 Script side-eRects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 4.3 M-File functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 4.3.1 Anatomy of a M-File function . . . . . . . . . . . . . . . . . . . . . . 38 4.3.2 Input and output arguments . . . . . . . . . . . . . . . . . . . . . . . 40 4.4 Input to a script ¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 4.5 Output commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 4.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 5 Control °ow and operators 43 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5.2 Control °ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5.2.1 The ``if...end'' structure . . . . . . . . . . . . . . . . . . . . . . . 43 5.2.2 Relational and logical operators . . . . . . . . . . . . . . . . . . . . . 45 5.2.3 The ``for...end'' loop . . . . . . . . . . . . . . . . . . . . . . . . . 45 5.2.4 The ``while...end'' loop . . . . . . . . . . . . . . . . . . . . . . . 46 5.2.5 Other °ow structures . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 5.2.6 Operator precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.3 Saving output to a ¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.4 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 6 Debugging M-¯les 49 6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.2 Debugging process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.2.1 Preparing for debugging . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.2 Setting breakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.3 Running with breakpoints . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.4 Examining values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.2.5 Correcting and ending debugging . . . . . . . . . . . . . . . . . . . . 51 6.2.6 Ending debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.2.7 Correcting an M-¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Platform: | Size: 258288 | Author: taffy320 | Hits:

[AI-NN-PR遗传算法的三个算子

Description: 改进的遗传算法的三个操作算子,包括选择、交叉和变异。-Improved three arithmetic operator in genetic algorithm including select,crossover and mutuation
Platform: | Size: 2048 | Author: 胡玉霞 | Hits:

[Windows DevelopMatlab的模拟退火算法工具箱

Description: Matlab的模拟退火算法工具箱,这是国外通用免费工具箱,在matlab环境下运行,具体使用说明见压缩文件-Simulating anneal arithmetic tool in Matlab is free fee abroad.It is used under Matlab and detail imformation can be found in rar file.
Platform: | Size: 54272 | Author: 华华 | Hits:

[GDI-BitmapKMEANS(matlab)

Description: Matlab环境下的k-means聚类算法,实现图像分割,很快阿!-K-means Clustering arithmetic based on Matlab platform.It s fast for Image-Division!
Platform: | Size: 32768 | Author: 刘明霞 | Hits:

[2D Graphicarithmetic.encoding

Description: 算术编码的应用实例matlab版本 1.可以对字符进行算术编码 2.开头不必制定字符串的大小 3.编码精度高,达到小数点8位以上 4.以函数的形式给出,易于调用和移值实现 5.显示界面人机交互较出色 -arithmetic coding examples of the application of a version of Matlab. Be right characters arithmetic coding 2. Not the beginning develop the size of strings 3. Coding accuracy, reaching more than eight decimal point four. to function in the form given, easy to call and shifts to achieve 5. HCI interface shows more successful
Platform: | Size: 1024 | Author: 方周 | Hits:

[matlabArithmetic

Description: 包含Dijkstra、Floyd、kruskal、动态规划、随机数生成等MATLAB程序-Contains Dijkstra, Floyd, kruskal, dynamic programming, random number generator, such as MATLAB program
Platform: | Size: 149504 | Author: chen | Hits:

[OtherArithmetic

Description: matlab程序,包括kruskal算法和kijkstra算法的程序
Platform: | Size: 2048 | Author: 随风 | Hits:

[Post-TeleCom sofeware systemsArithmetic

Description: 一个详尽的算术编码的matlab仿真程序。-A detailed arithmetic coding matlab simulation program.
Platform: | Size: 4096 | Author: blackdeath | Hits:

[matlabARITHMETIC-coding

Description: 算术编码程序设计及具体示例,适合初学者掌握基于MATLAB的算术编码-Arithmetic coding procedures for the design and specific examples, suitable for beginners to master the arithmetic coding based on MATLAB
Platform: | Size: 5120 | Author: HARRY | Hits:

[matlabArithmetic

Description: 比较经典点的matlab算法,适合研究matlab算法的人,
Platform: | Size: 5120 | Author: 刘东 | Hits:

[Compress-Decompress algrithmsCABAC

Description: 针对二值图像的压缩实现了算术编码以及解码 并在此基础上实现了一节自适应算术编码 有很好的压缩效果-For binary image compression realize the arithmetic coding and decoding and on this basis has been realized a very good adaptive arithmetic coding compression has the effect of
Platform: | Size: 5120 | Author: xwolfs | Hits:

[Compress-Decompress algrithmsArithmetic

Description: 算术编码与译码原理以及Matlab实现代码-The principle of arithmetic coding and decoding, as well as realize Matlab code
Platform: | Size: 11264 | Author: 周金喜 | Hits:

[AI-NN-PRdescendiblity-arithmetic-BPNN-Matlab-example

Description: 用遗传算法优化BP神经网络的Matlab编程实例.doc-Using genetic algorithms to optimize BP neural network Matlab programming examples. Doc
Platform: | Size: 6144 | Author: 陈攀攀 | Hits:

[Special EffectsArithemeticCoding

Description: 这个算术编码是对大量英文文本进行压缩,只适合英文文本压缩(适当修改可以用于图像压缩)-The arithmetic coding is a lot of English text compression, is only suitable for English text compression (with appropriate modifications can be used for image compression)
Platform: | Size: 17408 | Author: 倪广波 | Hits:

[Communication-MobileArithmetic

Description: matlab程序 信息论 算术编码及其译码程序-arthemetic
Platform: | Size: 4096 | Author: ww | Hits:

[Compress-Decompress algrithmsArithmetic

Description: 压缩编码中的算术编码,利用matlab进行建模和编码,做到了成功压缩和解压缩的功能- AC Coding with matlab
Platform: | Size: 3072 | Author: haree | Hits:

[Special EffectsArithmeticCode

Description: 算术编码是图像压缩的主要算法之一。 在给定符号集和符号概率的情况下,算术编码可以给出接近最优的编码结果。使用算术编码的压缩算法通常先要对输入符号的概率进行估计,然后再编码。这个估计越准,编码结果就越接近最优的结果-Arithmetic coding algorithm was a major one compressed image. In a given symbol set and symbol probability case, arithmetic coding can give near optimal coding results. Arithmetic coding compression algorithm used is usually first on the probability of input symbol estimates, and then encoding. This estimate is more accurate, the closer the results of the optimal coding results
Platform: | Size: 5120 | Author: | Hits:

[Compress-Decompress algrithmsArithmetic-coding

Description: 算术编码,MATLAB数字图像处理中的代码-Arithmetic coding, MATLAB code for digital image processing
Platform: | Size: 1024 | Author: 郜智方 | Hits:

[matlabarithmetic-coding

Description: 二元算术编码,即实现0和1 的算术编码,matlab源程序-Binary arithmetic coding, which implements the arithmetic coding 0 and 1, matlab source code
Platform: | Size: 4096 | Author: 游泳鱼 | Hits:

[AlgorithmLM-from-MATLAB

Description: Levenberg-Marquardt(LM)算法matlab-Levenberg-Marquardt(LM) arithmetic matlab
Platform: | Size: 9216 | Author: 王晶 | Hits:
« 12 3 4 5 6 7 8 9 10 ... 24 »

CodeBus www.codebus.net